from django.urls import path
from .views import GesturePwdView,RegsterloginView,MsgVerificationCodeView,ResetPwdView,HospitalView,EscortInfoView,SearchEscortView,InhospitalServiceView,CompanyServiceView,PatientView,DepartmentView,QiniuDownloadView,SubmitFormDataView,UnpaidOrdersView,QiniuTokenView,UserUpdateView,evaluateOrder

urlpatterns = [
    path('send-password/', GesturePwdView.as_view()),
    path('register_login/', RegsterloginView.as_view()),
    path('register_login/<str:phone>/', RegsterloginView.as_view()),
    path('user_update/', UserUpdateView.as_view()),
    path('msg/', MsgVerificationCodeView.as_view()),
    path('reset/<str:phone>/', ResetPwdView.as_view()),
    path('hospital/', HospitalView.as_view()),
    path('escortinfo/',EscortInfoView.as_view()),
    path('search/<str:name>/',SearchEscortView.as_view()),
    path('inhospital_services/',InhospitalServiceView.as_view()),
    path('company_services/', CompanyServiceView.as_view()),
    path('patient/', PatientView.as_view()),
    path('patient/<int:patient_id>/', PatientView.as_view()),
    path('department/', DepartmentView.as_view()),
    path('qiniu_token/', QiniuTokenView.as_view()),
    path('qiniu_download/', QiniuDownloadView.as_view()),
    path('submitformdata/', SubmitFormDataView.as_view()),
    path('unpaidorders/', UnpaidOrdersView.as_view()),
    path('evaluateOrder/', evaluateOrder.as_view()),
]